project(
	'display-test',
    'c',
	'cpp',
	version: '0.5.0',
	license: 'MIT',
	meson_version: '>=0.54.0',
	default_options: [
		'cpp_std=c++17',
        'c_std=c11',
		'warning_level=2',
		'werror=false',
    'buildtype=debug',
	],
)

include_directories(['.'])

add_project_arguments(['-Wno-deprecated-declarations'], language: 'c')

project_sources = [ 
                    'drm_test.c',
                  ]

wayland_client = dependency('wayland-client', version: '>=1.20')
wayland_protos = dependency('wayland-protocols', version: '>=1.14')

gbm = dependency('gbm')
drm = dependency('libdrm')
dependencies = [
  gbm, drm
] 
executable('display-test', project_sources,
        dependencies: dependencies,
        install: true)


